import { Elysia } from 'elysia';
import { getDashboardStats, getSystemStatus, getMonthlyStats } from '../controllers/dashboardController';
import { adminMiddleware } from '../middleware/auth';

export const dashboardRoutes = new Elysia({ prefix: '/dashboard' })
  .use(adminMiddleware())
  .get('/stats', getDashboardStats)
  .get('/monthly', getMonthlyStats)
  .get('/system-status', getSystemStatus);